package com.taoyuan.hotel.service.intf;

import com.taoyuan.hotel.entity.Employee;
import com.taoyuan.hotel.vo.PageBean;
import com.taoyuan.hotel.vo.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface EmployeeService {
    R save(Employee employee);

    List<Employee> all();

    R del(int id);

    R update(Employee employee);

    PageBean selectAny(String name, int page, int limit);

    R delBatch(int[] ids);

    R saveBatch(MultipartFile file) throws IOException;

    R selectTJ();
}
